OBJS = clupsd.o gprinter.o gauthenticate.o logger.o gjob.o utils.o
INCLUDES=
LIBDIRS=
LIBS=-lcurl -lssl -lexpat -lresolv -lstrophe -ljansson -lcups
CFLAGS=-g -I$(INCLUDES) -L$(LIBDIRS)
CC=gcc

srcdir = .
top_srcdir = .

clupsd: $(OBJS)
	$(CC) $(CLAGS) -o clupsd $(OBJS) $(LIBS)

%.o: %.c %.h
	$(CC) -c $(CFLAGS) $< -o $@

gcpd: cloudprintd.c
	$(CC) $(CFLAGS) -o gcpd cloudprintd.c $(LIBS)

clean:
	rm *.o
